<?php
	/**
	 * Class to set news attributes
	 */
	class News {
		private $pkId;
		private $date;
		private $image;
		private $title;
		private $description;
		
		/**
		 * Constructor of the news
		 */
		public function __construct($date, $image, $title, $description) {
			$this -> date = $date;
			$this -> image = $image;
			$this -> title = $title;
			$this -> description = $description;
		}
		
		/**
		 * Getter and setter for attribute $pkId
		 */
		public function setPkId($pkId) {
			$this -> pkId = $pkId;	
		}
		
		public function getPkId() {
			return $this -> pkId;
		}
		
		/**
		 * Getter and setter for attribute $date
		 */
		public function setDate($date) {
			$this -> date = $date;	
		}
		
		public function getDate() {
			return $this -> date;
		}
		
		/**
		 * Getter and setter for attribute $image
		 */
		public function setImage($image) {
			$this -> image = $image;	
		}
		
		public function getImage() {
			return $this -> image;
		}
		
		/**
		 * Getter and setter for attribute $title
		 */
		public function setTitle($title) {
			$this -> title = $title;	
		}
		
		public function getTitle() {
			return $this -> title;
		}
		
		/**
		 * Getter and setter for attribute $description
		 */
		public function setDescription($description) {
			$this -> description = $description;	
		}
		
		public function getDescription() {
			return $this -> description;
		}
	}
?>